package com.lavida.project.system.attendance.domain;

import java.util.Date;

import org.aspectj.weaver.ast.Var;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.ObjectIdGenerators.StringIdGenerator;
/**
 * 	考勤查阅
 * @author abh67
 *
 */
public class Attendances {
	private long id;					//id
	private String fcompany;			//分公司
	private String cgroup;				//组
	private String gangwei;				//岗位
	private String dept;				//部门
	private String job_id;				//工号
	private Double chuqin;					//出勤天数
	private Double xiuxi;					//休息天数
	private String name;				//姓名
	private String kaoqin;				//考勤
	private String worktime;			//工时
	private Double earlynumber;			//早退次数
	private String earlysixty;			//早退时长
	private Double latenumber;				//迟到次数
	private String latethiry;			//迟到时长
	private Double seriouslate;			//严重迟到次数
	private String seriouslatetime;		//严重迟到时长
	private int kuangglate;  		//旷工迟到天数
	private Double jiaban;				//加班
	private int kuanggong;				//旷工
	private String review;				//年假
	private String sick;				//病假
	private String shijia;				//事假
	private String chanjia;				//产假
	private String chanjian;			//产检假
	private String buru;				//哺乳假
	private Double deductcost;			//减除
	@JsonFormat(pattern="yyyy-MM")
	private Date dates;					//考勤日期
	private int year;					//年份
	private int month;					//月份
	public Attendances() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	public Attendances(long id, String fcompany, String cgroup, String gangwei, String dept, String job_id,
			Double chuqin, Double xiuxi, String name, String kaoqin, String worktime, Double earlynumber,
			String earlysixty, Double latenumber, String latethiry, Double seriouslate, String seriouslatetime,
			int kuangglate, Double jiaban, int kuanggong, String review, String sick, String shijia, String chanjia,
			String chanjian, String buru, Double deductcost, Date dates, int year, int month) {
		super();
		this.id = id;
		this.fcompany = fcompany;
		this.cgroup = cgroup;
		this.gangwei = gangwei;
		this.dept = dept;
		this.job_id = job_id;
		this.chuqin = chuqin;
		this.xiuxi = xiuxi;
		this.name = name;
		this.kaoqin = kaoqin;
		this.worktime = worktime;
		this.earlynumber = earlynumber;
		this.earlysixty = earlysixty;
		this.latenumber = latenumber;
		this.latethiry = latethiry;
		this.seriouslate = seriouslate;
		this.seriouslatetime = seriouslatetime;
		this.kuangglate = kuangglate;
		this.jiaban = jiaban;
		this.kuanggong = kuanggong;
		this.review = review;
		this.sick = sick;
		this.shijia = shijia;
		this.chanjia = chanjia;
		this.chanjian = chanjian;
		this.buru = buru;
		this.deductcost = deductcost;
		this.dates = dates;
		this.year = year;
		this.month = month;
	}

	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getFcompany() {
		return fcompany;
	}
	public void setFcompany(String fcompany) {
		this.fcompany = fcompany;
	}
	public String getCgroup() {
		return cgroup;
	}
	public void setCgroup(String cgroup) {
		this.cgroup = cgroup;
	}
	public String getGangwei() {
		return gangwei;
	}
	public void setGangwei(String gangwei) {
		this.gangwei = gangwei;
	}
	public String getDept() {
		return dept;
	}
	public void setDept(String dept) {
		this.dept = dept;
	}
	public String getJob_id() {
		return job_id;
	}
	public void setJob_id(String job_id) {
		this.job_id = job_id;
	}
	public Double getChuqin() {
		return chuqin;
	}
	public void setChuqin(Double chuqin) {
		this.chuqin = chuqin;
	}
	public Double getXiuxi() {
		return xiuxi;
	}
	public void setXiuxi(Double xiuxi) {
		this.xiuxi = xiuxi;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getKaoqin() {
		return kaoqin;
	}
	public void setKaoqin(String kaoqin) {
		this.kaoqin = kaoqin;
	}
	public String getWorktime() {
		return worktime;
	}
	public void setWorktime(String worktime) {
		this.worktime = worktime;
	}
	public Double getEarlynumber() {
		return earlynumber;
	}
	public void setEarlynumber(Double earlynumber) {
		this.earlynumber = earlynumber;
	}
	public String getEarlysixty() {
		return earlysixty;
	}
	public void setEarlysixty(String earlysixty) {
		this.earlysixty = earlysixty;
	}
	public Double getLatenumber() {
		return latenumber;
	}
	public void setLatenumber(Double latenumber) {
		this.latenumber = latenumber;
	}
	public String getLatethiry() {
		return latethiry;
	}
	public void setLatethiry(String latethiry) {
		this.latethiry = latethiry;
	}
	public Double getSeriouslate() {
		return seriouslate;
	}
	public void setSeriouslate(Double seriouslate) {
		this.seriouslate = seriouslate;
	}
	public String getSeriouslatetime() {
		return seriouslatetime;
	}
	public void setSeriouslatetime(String seriouslatetime) {
		this.seriouslatetime = seriouslatetime;
	}
	public int getKuangglate() {
		return kuangglate;
	}
	public void setKuangglate(int kuangglate) {
		this.kuangglate = kuangglate;
	}
	public Double getJiaban() {
		return jiaban;
	}
	public void setJiaban(Double jiaban) {
		this.jiaban = jiaban;
	}
	public int getKuanggong() {
		return kuanggong;
	}
	public void setKuanggong(int kuanggong) {
		this.kuanggong = kuanggong;
	}
	public String getReview() {
		return review;
	}
	public void setReview(String review) {
		this.review = review;
	}
	public String getSick() {
		return sick;
	}
	public void setSick(String sick) {
		this.sick = sick;
	}
	public String getShijia() {
		return shijia;
	}
	public void setShijia(String shijia) {
		this.shijia = shijia;
	}
	public String getChanjia() {
		return chanjia;
	}
	public void setChanjia(String chanjia) {
		this.chanjia = chanjia;
	}
	public String getChanjian() {
		return chanjian;
	}
	public void setChanjian(String chanjian) {
		this.chanjian = chanjian;
	}
	public String getBuru() {
		return buru;
	}
	public void setBuru(String buru) {
		this.buru = buru;
	}
	
	public Double getDeductcost() {
		return deductcost;
	}

	public void setDeductcost(Double deductcost) {
		this.deductcost = deductcost;
	}

	public Date getDates() {
		return dates;
	}
	public void setDates(Date dates) {
		this.dates = dates;
	}
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
	public int getMonth() {
		return month;
	}
	public void setMonth(int month) {
		this.month = month;
	}

	@Override
	public String toString() {
		return "Attendances [id=" + id + ", fcompany=" + fcompany + ", cgroup=" + cgroup + ", gangwei=" + gangwei
				+ ", dept=" + dept + ", job_id=" + job_id + ", chuqin=" + chuqin + ", xiuxi=" + xiuxi + ", name=" + name
				+ ", kaoqin=" + kaoqin + ", worktime=" + worktime + ", earlynumber=" + earlynumber + ", earlysixty="
				+ earlysixty + ", latenumber=" + latenumber + ", latethiry=" + latethiry + ", seriouslate="
				+ seriouslate + ", seriouslatetime=" + seriouslatetime + ", kuangglate=" + kuangglate + ", jiaban="
				+ jiaban + ", kuanggong=" + kuanggong + ", review=" + review + ", sick=" + sick + ", shijia=" + shijia
				+ ", chanjia=" + chanjia + ", chanjian=" + chanjian + ", buru=" + buru + ", deductcost=" + deductcost
				+ ", dates=" + dates + ", year=" + year + ", month=" + month + "]";
	}
	
	
	
	
}
